<template>
  <view class="container">
    <view class="register-box">
      <text class="title">注册</text>
      <input class="input" type="text" placeholder="请输入用户名" />
      <input class="input" type="password" placeholder="请输入密码" />
      <input class="input" type="password" placeholder="请再次输入密码" />
      <button class="btn" type="primary">注册</button>
      <navigator url="/pages/login/login" class="link">已有账号？去登录</navigator>
    </view>
  </view>
</template>

<script>
export default {
  name: "RegisterPage"
};
</script>

<style scoped>
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.register-box {
  width: 80%;
  max-width: 400px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.title {
  display: block;
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
.btn {
  width: 100%;
  margin-bottom: 10px;
}
.link {
  display: block;
  text-align: center;
  color: #007AFF;
  font-size: 14px;
}
</style>